package com.sstir.doctor.pojo.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * @ClassName QuestionVO
 * @Description
 * @Author hanjunjun
 * @Date 2021/1/14 18:43
 */
@Getter
@Setter
@NoArgsConstructor
@ApiModel("问题、答案")
@JsonIgnoreProperties(ignoreUnknown = true)
public class QuestionVO {

    @ApiModelProperty(value = "问题id")
    private Integer id;

    @ApiModelProperty(value = "题目类型1机构2基金3疾病分类4论文5统计信息6专利", required = true)
    @NotBlank
    private String queType;

    @ApiModelProperty(value = "问题", required = true)
    @NotBlank
    private String queName;

    @ApiModelProperty(value = "选项A", required = true)
    @NotBlank
    private String ansA;

    @ApiModelProperty(value = "选项B", required = true)
    @NotBlank
    private String ansB;

    @ApiModelProperty(value = "选项C", required = true)
    @NotBlank
    private String ansC;

    @ApiModelProperty(value = "选项D", required = true)
    @NotBlank
    private String ansD;

    @ApiModelProperty(value = "正确选项", example = "A", required = true)
    @NotBlank
    private String ansReal;


}
